<template>
  <div class="box">
    
    <Search class="search-box" />
    <Goodslist class="goods-list" />
    
<Footer class="footer-box"/>
  </div>
</template>

<script>
import Search from "./son-components/Search";
import Goodslist from "./GoodsList-file/Goodslist.vue";
import Footer from './son-components/Footer.vue';
export default {
  name: "Goods",
  components: {
    Goodslist,Search,Footer
  }
};
</script>

<style scoped>

.box{
  height: 100%;
}

.search-box {
  position: fixed;
  top: 0;
  left: 0;
}
.goods-list{
  overflow-y: auto;
}
.test{
  position: fixed;
  top: .5rem;
  left: 1rem;
  z-index: 3
  ;
}
.footer-box{
  position: fixed;
  bottom:0;
  left:0;
}
</style>
